﻿@{
    var AppConfig = (Guline.SupportCMS.Models.Object.AppConfig)ViewBag._appConfig;
    var DomainandPortPath = Request.Url.GetLeftPart(UriPartial.Path);
}

<!DOCTYPE html>
<!--[if IE 8 ]><html class="ie8" lang="en"><![endif]-->
<!--[if IE 9 ]><html class="ie9" lang="en"><![endif]-->
<!--[if (gte IE 10)|!(IE)]><!-->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<!--<![endif]-->
<head>
    <title>@(ViewBag.Title == null ? AppConfig.SiteTitle : ViewBag.Title + " | " + AppConfig.SiteTitle)</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <!-- Seo Meta -->
    <meta name="description" content="@(ViewBag.DescriptionSEO == "" ? AppConfig.SiteSeoDescript : ViewBag.DescriptionSEO)">
    <meta name="keywords" content="@AppConfig.SiteKeyWord">
    <meta property="fb:app_id" content="@AppConfig.FacebookAppId"/>
    <meta property="og:type" content="website" />
    <meta property="og:image" content="@(ViewBag.LogoSEO == "" ? AppConfig.LogoSEO : ViewBag.LogoSEO)"/>
    <meta property="og:title" content="@(ViewBag.Title == "" ? AppConfig.SiteTitle : ViewBag.Title + " | " + AppConfig.SiteTitle)" />
    <meta property="og:url" content="@(DomainandPortPath)"/>
    <meta property="og:description" content="@(ViewBag.DescriptionSEO == "" ? AppConfig.SiteSeoDescript : ViewBag.DescriptionSEO)" />
    <meta name="robots" content="noodp,index,follow" />
    <!-- Styles -->
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/themes/hot360/style.css")" media="screen" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/themes/hot360/styles/icons.css")" media="screen" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/themes/hot360/styles/animate.css")" media="screen" />
    <link rel="stylesheet" type="text/css" href="@Url.Content("~/Content/themes/hot360/styles/responsive.css")" media="screen" />
    <link href='http://fonts.googleapis.com/css?family=Roboto:400,300,100,500' rel='stylesheet' type='text/css'>

    <!-- Favicon -->
    <link rel="shortcut icon" href="@Url.Content("~/Content/themes/hot360/images/favicon.ico")">
    <link rel="apple-touch-icon" href="@Url.Content("~/Content/themes/hot360/images/apple-touch-icon.png")">

    <!--[if IE]>
		<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=EmulateIE8; IE=EDGE" />
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
    <script>(function (d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "https://connect.facebook.net/vi_VN/sdk.js#xfbml=1&appId=@(AppConfig.FacebookAppId)&version=v2.0";
    fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
</head>
<body>
    <div id="fb-root"></div>
    <div id="layout" class="boxed">
        <header id="header">
            <div class="a_head">
                <div class="row clearfix">
                    <div class="breaking_news lefter">
                        <div class="freq_out">
                            <div class="freq">
                                <div class="inner_f"></div>
                                <div id="layerBall"></div>
                            </div>
                        </div>
                        <!-- /freq -->
                        <ul id="js-news" class="js-hidden">
                             <li class="news-item"><a>Hot360.VN - Trang thông tin tổng hợp</a></li>
                            <li class="news-item"><a>Welcome to Hot360.VN</a></li>
                        </ul>
                        <!-- /js news -->
                    </div>
                    <!-- /breaking news -->

                    <div class="right_bar">
                       

                        <div class="social social_head">
                         
                            <a href="@AppConfig.FacebookLink" target="_blank" class="bottomtip" title="Facebook"><i class="fa-facebook"></i></a>
                     
                         
                        </div>
                        <!-- /social -->

                        <span id="date_time"></span>
                        <!-- /date -->
                    </div>
                    <!-- /right bar -->
                </div>
                <!-- /row -->
            </div>
            <!-- /a head -->

            <div class="b_head">
                <div class="row clearfix">
                    <div class="logo">
                        <a href="@Url.Action("Index", "Home")" title="@AppConfig.SiteTitle">
                            <img src="@Url.Content("~/Content/themes/hot360/images/logo.png")" alt="@AppConfig.SiteTitle"></a>
                    </div>
                    <!-- /logo -->

                    <div class="ads">
                        <!--/Wait for ads logo /-->
                    </div>
                    <!-- /ads -->
                </div>
                <!-- /row -->
            </div>
            <!-- /b head -->

            <div class="row clearfix">
                <div class="sticky_true">
                    <div class="c_head clearfix">
                        @Html.Action("MainMenu", "Component")
                        <div class="right_icons">
                            <div class="search">
                                <div class="search_icon"><i class="fa-search"></i></div>
                                <div class="s_form">
                                    <form action="@Url.Action("Search", "Home")" id="frmsearch" method="get">
                                        <input id="inputhead" name="search" type="text" onfocus="if (this.value=='Start Searching...') this.value = '';" onblur="if (this.value=='') this.value = 'Start Searching...';" value="Start Searching..." placeholder="Start Searching ...">
                                        <button type="submit"><i class="fa-search"></i></button>
                                    </form>
                                    <!-- /form -->
                                </div>
                                <!-- /s form -->
                            </div>
                            <!-- /search -->
                        </div>
                        <!-- /right icons -->
                    </div>
                    <!-- /c head -->
                </div>
                <!-- /sticky -->
            </div>
            <!-- /row -->
        </header>
        <!-- /header -->

        <div class="page-content">
            @RenderBody()
        </div>
        <!-- /end page content -->

        <footer id="footer">
            <div class="row clearfix">
                <div class="grid_3">
                    <div class="widget">
                        <div class="title">
                            <h4>Về Hot360.vn</h4>
                        </div>
                        @Html.Raw(HttpUtility.HtmlDecode(AppConfig.SiteShortDes))
                    </div>
                    <!-- /widget -->
                </div>
                <!-- /grid3 -->

                <div class="grid_3">
                    <div class="widget">
                        <div class="title">
                            <h4>Bài viết mới nhất</h4>
                        </div>
                        @Html.Action("LastedNews","Component")
                    </div>
                    <!-- /widget -->
                </div>
                <!-- /grid3 -->

                <div class="grid_3">
                    <div class="widget">
                        <div class="title">
                            <h4>Xem nhiều nhất</h4>
                        </div>
                         @Html.Action("ReadMore","Component")
                    </div>
                    <!-- /widget -->
                </div>
                <!-- /grid3 -->

                <div class="grid_3">
                    <div class="widget">
                        <div class="title">
                            <h4>Đăng ký nhận tin</h4>
                        </div>
                        <p>Để nhận tin mới nhất qua Email. </p>
                        <form id="newsletters" method="post" action="http://feedburner.google.com/fb/a/mailverify" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=sevenpsd', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
                            <input type="email" onfocus="if (this.value=='Điền email của bạn...') this.value = '';" onblur="if (this.value=='') this.value = 'Điền email của bạn...';" value="Điền email của bạn..." placeholder="Điền email của bạn..." required="required">
                            <button type="submit"><i class="icon-checkmark"></i></button>
                        </form>
                    </div>
                    <!-- /widget -->

                    <div class="widget">
                        <div class="title">
                            <h4>Theo dấu chúng tôi</h4>
                        </div>
                        <div class="social">
                 
                            <a href="@AppConfig.FacebookLink" target="_blank" class="toptip" title="Facebook"><i class="fa-facebook"></i></a>
                      
                        </div>
                        <!-- /social -->
                    </div>
                    <!-- /widget -->
                </div>
                <!-- /grid3 -->

            </div>
            <!-- /row -->

            <div class="row clearfix">
                <div class="footer_last">
                    <span class="copyright">© @DateTime.Now.Year <a href="http://www.hot360.vn/">Hot360.vn</a>. All Rights Reserved. Powered by <a>Guline Solutions</a>.</span>

                    <div id="toTop" class="toptip" title="Back to Top"><i class="icon-arrow-thin-up"></i></div>
                </div>
                <!-- /last footer -->
            </div>
            <!-- /row -->

        </footer>
        <!-- /footer -->

    </div>
    <!-- /layout -->

    <!-- Scripts -->
    <script type="text/javascript" src="@Url.Content("~/Content/themes/hot360/js/jquery-1.11.1.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/themes/hot360/js/ipress.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/themes/hot360/js/owl.carousel.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/themes/hot360/js/jquery.ticker.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Content/themes/hot360/js/custom.js")"></script>
    <script type="text/javascript">
        /* <![CDATA[ */
        function date_time(id) {
            date = new Date;
            year = date.getFullYear();
            month = date.getMonth();
            months = new Array('January', 'February', 'March', 'April', 'May', 'June', 'Jully', 'August', 'September', 'October', 'November', 'December');
            d = date.getDate();
            day = date.getDay();
            days = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');
            h = date.getHours();
            if (h < 10) {
                h = "0" + h;
            }
            m = date.getMinutes();
            if (m < 10) {
                m = "0" + m;
            }
            s = date.getSeconds();
            if (s < 10) {
                s = "0" + s;
            }
            // result = ''+days[day]+' '+months[month]+' '+d+' '+year+' '+h+':'+m+':'+s;
            result = '' + days[day] + ' ' + d + ' ' + months[month] + ' ' + year;
            document.getElementById(id).innerHTML = result;
            setTimeout('date_time("' + id + '");', '1000');
            return true;
        }
        window.onload = date_time('date_time');
        /* ]]> */
    </script>


</body>
</html>
